package cn.itsource.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/*用来分发分页数据*/
@Data
@AllArgsConstructor//全参
@NoArgsConstructor//无参
public class PageList<T> {

    private Integer total = 0;

    private List<T> list = new ArrayList<T>();


}
